home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / SCSL / dtrsyl.z / dtrsyl
Encoding:
Text File  |  2002-10-03  |  5.2 KB  |  199 lines

  1.  
  2.  
  3.  
  4. DDDDTTTTRRRRSSSSYYYYLLLL((((3333SSSS))))                                                          DDDDTTTTRRRRSSSSYYYYLLLL((((3333SSSS))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      DTRSYL - solve the real Sylvester matrix equation
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      SUBROUTINE DTRSYL( TRANA, TRANB, ISGN, M, N, A, LDA, B, LDB, C, LDC,
  13.                         SCALE, INFO )
  14.  
  15.          CHARACTER      TRANA, TRANB
  16.  
  17.          INTEGER        INFO, ISGN, LDA, LDB, LDC, M, N
  18.  
  19.          DOUBLE         PRECISION SCALE
  20.  
  21.          DOUBLE         PRECISION A( LDA, * ), B( LDB, * ), C( LDC, * )
  22.  
  23. IIIIMMMMPPPPLLLLEEEEMMMMEEEENNNNTTTTAAAATTTTIIIIOOOONNNN
  24.      These routines are part of the SCSL Scientific Library and can be loaded
  25.      using either the -lscs or the -lscs_mp option.  The -lscs_mp option
  26.      directs the linker to use the multi-processor version of the library.
  27.  
  28.      When linking to SCSL with -lscs or -lscs_mp, the default integer size is
  29.      4 bytes (32 bits). Another version of SCSL is available in which integers
  30.      are 8 bytes (64 bits).  This version allows the user access to larger
  31.      memory sizes and helps when porting legacy Cray codes.  It can be loaded
  32.      by using the -lscs_i8 option or the -lscs_i8_mp option. A program may use
  33.      only one of the two versions; 4-byte integer and 8-byte integer library
  34.      calls cannot be mixed.
  35.  
  36. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  37.      DTRSYL solves the real Sylvester matrix equation:
  38.         op(A)*X + X*op(B) = scale*C or
  39.         op(A)*X - X*op(B) = scale*C,
  40.  
  41.      where op(A) = A or A**T, and  A and B are both upper quasi- triangular. A
  42.      is M-by-M and B is N-by-N; the right hand side C and the solution X are
  43.      M-by-N; and scale is an output scale factor, set <= 1 to avoid overflow
  44.      in X.
  45.  
  46.      A and B must be in Schur canonical form (as returned by DHSEQR), that is,
  47.      block upper triangular with 1-by-1 and 2-by-2 diagonal blocks; each 2-
  48.      by-2 diagonal block has its diagonal elements equal and its off-diagonal
  49.      elements of opposite sign.
  50.  
  51.  
  52. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  53.      TRANA   (input) CHARACTER*1
  54.              Specifies the option op(A):
  55.              = 'N': op(A) = A    (No transpose)
  56.              = 'T': op(A) = A**T (Transpose)
  57.              = 'C': op(A) = A**H (Conjugate transpose = Transpose)
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. DDDDTTTTRRRRSSSSYYYYLLLL((((3333SSSS))))                                                          DDDDTTTTRRRRSSSSYYYYLLLL((((3333SSSS))))
  71.  
  72.  
  73.  
  74.      TRANB   (input) CHARACTER*1
  75.              Specifies the option op(B):
  76.              = 'N': op(B) = B    (No transpose)
  77.              = 'T': op(B) = B**T (Transpose)
  78.              = 'C': op(B) = B**H (Conjugate transpose = Transpose)
  79.  
  80.      ISGN    (input) INTEGER
  81.              Specifies the sign in the equation:
  82.              = +1: solve op(A)*X + X*op(B) = scale*C
  83.              = -1: solve op(A)*X - X*op(B) = scale*C
  84.  
  85.      M       (input) INTEGER
  86.              The order of the matrix A, and the number of rows in the matrices
  87.              X and C. M >= 0.
  88.  
  89.      N       (input) INTEGER
  90.              The order of the matrix B, and the number of columns in the
  91.              matrices X and C. N >= 0.
  92.  
  93.      A       (input) DOUBLE PRECISION array, dimension (LDA,M)
  94.              The upper quasi-triangular matrix A, in Schur canonical form.
  95.  
  96.      LDA     (input) INTEGER
  97.              The leading dimension of the array A. LDA >= max(1,M).
  98.  
  99.      B       (input) DOUBLE PRECISION array, dimension (LDB,N)
  100.              The upper quasi-triangular matrix B, in Schur canonical form.
  101.  
  102.      LDB     (input) INTEGER
  103.              The leading dimension of the array B. LDB >= max(1,N).
  104.  
  105.      C       (input/output) DOUBLE PRECISION array, dimension (LDC,N)
  106.              On entry, the M-by-N right hand side matrix C.  On exit, C is
  107.              overwritten by the solution matrix X.
  108.  
  109.      LDC     (input) INTEGER
  110.              The leading dimension of the array C. LDC >= max(1,M)
  111.  
  112.      SCALE   (output) DOUBLE PRECISION
  113.              The scale factor, scale, set <= 1 to avoid overflow in X.
  114.  
  115.      INFO    (output) INTEGER
  116.              = 0: successful exit
  117.              < 0: if INFO = -i, the i-th argument had an illegal value
  118.              = 1: A and B have common or very close eigenvalues; perturbed
  119.              values were used to solve the equation (but the matrices A and B
  120.              are unchanged).
  121.  
  122. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  123.      INTRO_LAPACK(3S), INTRO_SCSL(3S)
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136. DDDDTTTTRRRRSSSSYYYYLLLL((((3333SSSS))))                                                          DDDDTTTTRRRRSSSSYYYYLLLL((((3333SSSS))))
  137.  
  138.  
  139.  
  140.      This man page is available only online.
  141.  
  142.  
  143.  
  144.  
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.                                                                         PPPPaaaaggggeeee 3333
  196.  
  197.  
  198.  
  199.